package com.cy.dda.dao.mapper.goodsdiligencing;

import com.cy.dda.model.domain.goodsdiligencing.GoodsDiligencing;
import com.cy.dda.model.query.goodsdiligencing.GoodsDiligencingAdminListQuery;
import com.cy.dda.model.query.goodsdiligencing.GoodsDiligencingListQuery;
import com.cy.dda.model.vo.goodsdiligencing.GoodsDiligencingAdminListVO;
import com.cy.dda.model.vo.goodsdiligencing.GoodsDiligencingListVO;
import org.apache.ibatis.annotations.Mapper;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 * @Description 家具尽调dao： GoodsDiligencingMapper
 * @Author tanyilin
 * @Date 2019/8/23 16:35
 */
@Mapper
public interface GoodsDiligencingMapper extends BaseMapper<GoodsDiligencing> {

    /**
     * 前台-查询家具尽调列表
     * @param query
     * @return int
     */
    int selectGoodsDiligencingListCount(GoodsDiligencingListQuery query);

    List<GoodsDiligencingListVO> selectGoodsDiligencingList(GoodsDiligencingListQuery query);

    /**
     * 后台-查询家具尽调列表
     * @param query
     * @return int
     */
    int selectGoodsDiligencingAdminListCount(GoodsDiligencingAdminListQuery query);

    List<GoodsDiligencingAdminListVO> selectGoodsDiligencingAdminList(GoodsDiligencingAdminListQuery query);
}
